//
//  SYNoDataView.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/21.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <UIKit/UIKit.h>


@class SYNoDataView;

@protocol SYNoDataViewDelegate <NSObject>

@optional

/**
 点击发布策略按钮
 */
-(void)noDataView:(SYNoDataView *)noDataView didClickSaleButton:(SYNoHeightedButton *)button;

@end

@interface SYNoDataView : UIView

@property (nonatomic , copy) NSString *imageString;
@property (nonatomic , copy) NSString *buttonTitle;
//按钮需要显示什么标题传递什么，不需要显示，控制frame
+(instancetype)positionNoDataViewInitWithFrame:(CGRect)frame ImageString:(NSString *)imageString buttonTitle:(NSString *)buttonTitle IsCanSeeBuyButton:(BOOL)isCanSeeBuyButton;

@property (nonatomic , assign) BOOL isCanSeeBuyButton;

@property (nonatomic , weak)id<SYNoDataViewDelegate>delegate;


@end
